﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _068
{
    internal class Program
    {
        static void Main(string[] args)
        {
            #region
            /*
            Console.WriteLine("这是一条测试");
            Console.Write("测试");
            Console.WriteLine("");

            //值类型
            int a = 10;//定义一个值类型
            byte b = 20;
            short c=30;
            Console.WriteLine("我是值类型：int{0},byte:{1},short:{2}",a,b,c);
            float d = 9.28f;
            double e = 112d;
            Console.WriteLine("我是浮点类型：float{0},double{1}",d,e);
            bool x = true;
            Console.WriteLine("我是布尔类型，我的值是：{0}",x);
            Console.WriteLine("int类型的大小：{0}",sizeof(int));
            Console.WriteLine("bool类型的大小：{0}",sizeof(bool));
            Console.WriteLine("byte类型的大小：{0}",sizeof(byte));
            */
            #endregion
            #region
            /*
            int a = 210;
            double b = a;
            Console.WriteLine("b的值是：{0}",b);
            double c = 576.88;
            int d;
            d = (int)c;
            Console.WriteLine("转换前：{0},转换后：{1}",c,d);
            int a = 890;
            float b = 23.987f;
            double c = 32.443;
            bool d = true;
            Console.WriteLine(a.ToString());
            Console.WriteLine(b.ToString());
            Console.WriteLine(c.ToString());
            Console.WriteLine(d.ToString());
             */
            #endregion
            Console.ReadKey();

        }
    }
}
